package table

Import Path
	github.com/K-Phoen/grabana/table (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files table.go
Package-Level Type Names (total 4)
/* sort by: | */
Aggregation configures how to display an aggregate in the table. Label string Type AggregationType func AsTimeSeriesAggregations(aggregations []Aggregation) Option
AggregationType represents an aggregation function used on values returned by the query. const AVG const Count const Current const Max const Min
Option represents an option that can be used to configure a table panel. func AsAnnotations() Option func AsJSON() Option func AsTable() Option func AsTimeSeriesAggregations(aggregations []Aggregation) Option func DataSource(source string) Option func Description(content string) Option func Height(height string) Option func HideColumn(columnLabelPattern string) Option func Links(panelLinks ...links.Link) Option func Span(span float32) Option func TimeSeriesToColumns() Option func TimeSeriesToRows() Option func Transparent() Option func WithGraphiteTarget(query string, options ...graphite.Option) Option func WithInfluxDBTarget(query string, options ...influxdb.Option) Option func WithPrometheusTarget(query string, options ...prometheus.Option) Option func New(title string, options ...Option) (*Table, error) func github.com/K-Phoen/grabana/row.WithTable(title string, options ...Option) row.Option
Table represents a table panel. Builder *sdk.Panel func New(title string, options ...Option) (*Table, error)
Package-Level Functions (total 17)
AsAnnotations displays the data as annotations.
AsJSON displays the data as JSON.
AsTable displays the data as a table.
AsTimeSeriesAggregations displays the data according to the given aggregation methods.
DataSource sets the data source to be used by the table.
Description annotates the current visualization with a human-readable description.
Height sets the height of the panel, in pixels. Example: "400px".
HideColumn hides the column having a label matching the given pattern.
New creates a new table panel.
Span sets the width of the panel, in grid units. Should be a positive number between 1 and 12. Example: 6.
TimeSeriesToColumns displays the data in columns.
TimeSeriesToRows displays the data in rows.
Transparent makes the background transparent.
WithGraphiteTarget adds a Graphite target to the table.
WithInfluxDBTarget adds an InfluxDB target to the table.
WithPrometheusTarget adds a prometheus target to the table.
Package-Level Constants (total 5)
AVG aggregates results by computing the average.
Count aggregates results by counting them.
Current aggregates results by keeping only the current value.
Max aggregates results by keeping only the largest value.
Min aggregates results by keeping only the smallest value.